import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//rem 文件
import 'amfe-flexible' 
import '@/assets/css/reset.css';
import 'vant/lib/index.less';

// vant 按需引用
import vant from './utils/vant'
Vue.use(vant)

// 桌面端适配
import '@vant/touch-emulator';

import moment from "moment"
moment.locale('zh-cn', {
  weekdays: '周日_周一_周二_周三_周四_周五_周六'.split('_')
})
Vue.prototype.$moment = moment;

Vue.prototype.$bus = new Vue()



// axios
import axios from 'axios'
Vue.prototype.axios = axios



Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
